package com.cb.dao;

import com.cb.pojo.Anticipation;
import com.cb.pojo.Film;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface LeaderboardDao {
    int insertAnticipation(Anticipation anticipation);

    int updateAnticipation(Anticipation anticipation);

    List<String> selectAnticipat(String time);

    List<String> selectAllOrderListRedis();

    Film selectFilmByypname(String ypname);
}
